<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: INTMUX Peripheral driver</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__intmux__driver.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">INTMUX Peripheral driver<div class="ingroups"><a class="el" href="group__intmux.html">Interrupt Multiplexer (INTMUX)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for INTMUX Peripheral driver:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<center><table><tr><td><div class="center"><iframe scrolling="no" frameborder="0" src="group__intmux__driver.svg" width="359" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga323ecb48c04c2c7d9a566d2eceb33380"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#ga323ecb48c04c2c7d9a566d2eceb33380">intmux_channel_logic_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__intmux__driver.html#gga323ecb48c04c2c7d9a566d2eceb33380acd55443e954b85dbb1150fb9291d2e7d">kINTMUX_ChannelLogicOR</a> = 0x0U, 
<br />
&#160;&#160;<a class="el" href="group__intmux__driver.html#gga323ecb48c04c2c7d9a566d2eceb33380a0ec74d3f6f2e22f6d98cae2af686c73d">kINTMUX_ChannelLogicAND</a>
<br />
 }<tr class="memdesc:ga323ecb48c04c2c7d9a566d2eceb33380"><td class="mdescLeft">&#160;</td><td class="mdescRight">INTMUX channel logic mode.  <a href="group__intmux__driver.html#ga323ecb48c04c2c7d9a566d2eceb33380">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga323ecb48c04c2c7d9a566d2eceb33380"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Initialization and deinitialization</h2></td></tr>
<tr class="memitem:ga2ac258d09a69ecb0f5c56db58fbd7eb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#ga2ac258d09a69ecb0f5c56db58fbd7eb2">INTMUX_Init</a> (INTMUX_Type *base)</td></tr>
<tr class="memdesc:ga2ac258d09a69ecb0f5c56db58fbd7eb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes INTMUX module.  <a href="#ga2ac258d09a69ecb0f5c56db58fbd7eb2">More...</a><br /></td></tr>
<tr class="separator:ga2ac258d09a69ecb0f5c56db58fbd7eb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e3f7302b867c1ebbce6518b0689606e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#ga6e3f7302b867c1ebbce6518b0689606e">INTMUX_Deinit</a> (INTMUX_Type *base)</td></tr>
<tr class="memdesc:ga6e3f7302b867c1ebbce6518b0689606e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes an INTMUX instance for operation.  <a href="#ga6e3f7302b867c1ebbce6518b0689606e">More...</a><br /></td></tr>
<tr class="separator:ga6e3f7302b867c1ebbce6518b0689606e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa063278d27efbc5aa042b722e703cf00"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#gaa063278d27efbc5aa042b722e703cf00">INTMUX_ResetChannel</a> (INTMUX_Type *base, uint32_t channel)</td></tr>
<tr class="memdesc:gaa063278d27efbc5aa042b722e703cf00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset an INTMUX channel.  <a href="#gaa063278d27efbc5aa042b722e703cf00">More...</a><br /></td></tr>
<tr class="separator:gaa063278d27efbc5aa042b722e703cf00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56cfb6e18a470d6ce35153213de922b9"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#ga56cfb6e18a470d6ce35153213de922b9">INTMUX_SetChannelMode</a> (INTMUX_Type *base, uint32_t channel, <a class="el" href="group__intmux__driver.html#ga323ecb48c04c2c7d9a566d2eceb33380">intmux_channel_logic_mode_t</a> logic)</td></tr>
<tr class="memdesc:ga56cfb6e18a470d6ce35153213de922b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the logic mode for an INTMUX channel.  <a href="#ga56cfb6e18a470d6ce35153213de922b9">More...</a><br /></td></tr>
<tr class="separator:ga56cfb6e18a470d6ce35153213de922b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Sources</h2></td></tr>
<tr class="memitem:gad71acffe5e252ffaf406ce0087a50f0f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#gad71acffe5e252ffaf406ce0087a50f0f">INTMUX_EnableInterrupt</a> (INTMUX_Type *base, uint32_t channel, IRQn_Type irq)</td></tr>
<tr class="memdesc:gad71acffe5e252ffaf406ce0087a50f0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable an interrupt source on an INTMUX channel.  <a href="#gad71acffe5e252ffaf406ce0087a50f0f">More...</a><br /></td></tr>
<tr class="separator:gad71acffe5e252ffaf406ce0087a50f0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga791e3c14a7c2d6974517d2c17c722d1c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#ga791e3c14a7c2d6974517d2c17c722d1c">INTMUX_DisableInterrupt</a> (INTMUX_Type *base, uint32_t channel, IRQn_Type irq)</td></tr>
<tr class="memdesc:ga791e3c14a7c2d6974517d2c17c722d1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable an interrupt source on an INTMUX channel.  <a href="#ga791e3c14a7c2d6974517d2c17c722d1c">More...</a><br /></td></tr>
<tr class="separator:ga791e3c14a7c2d6974517d2c17c722d1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Status</h2></td></tr>
<tr class="memitem:ga37cd66e7503acb5ea0b0d8455f8e5bd1"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__intmux__driver.html#ga37cd66e7503acb5ea0b0d8455f8e5bd1">INTMUX_GetChannelPendingSources</a> (INTMUX_Type *base, uint32_t channel)</td></tr>
<tr class="memdesc:ga37cd66e7503acb5ea0b0d8455f8e5bd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get INTMUX pending interrupt sources for specific channel.  <a href="#ga37cd66e7503acb5ea0b0d8455f8e5bd1">More...</a><br /></td></tr>
<tr class="separator:ga37cd66e7503acb5ea0b0d8455f8e5bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Usage Information</h2>
<p>This section describes the programming interface of the INTMUX Peripheral driver. The INTMUX driver configures the INTMUX module and provides a functional interface to build an INTMUX application.</p>
<h1><a class="anchor" id="INTMUXFunGrps"></a>
Function groups</h1>
<h2><a class="anchor" id="INTMUXInit"></a>
INTMUX Initialization and De-initialization</h2>
<p>This function group initializes and de-initializes the INTMUX module.</p>
<h2><a class="anchor" id="INTMUXOper"></a>
INTMUX Operation</h2>
<p>This function group resets and configures the INTMUX channel and gets the pending source.</p>
<h1><a class="anchor" id="INTMUXTypicalUseCase"></a>
Typical use case</h1>
<h2><a class="anchor" id="ChannelConfig"></a>
Channel Configure</h2>
<div class="fragment"><div class="line"><span class="comment">/* INTMUX initialization */</span></div><div class="line"><a class="code" href="group__intmux__driver.html#ga2ac258d09a69ecb0f5c56db58fbd7eb2">INTMUX_Init</a>(INTMUX0);</div><div class="line"><span class="comment">/* Resets the INTMUX channel 0 */</span></div><div class="line"><a class="code" href="group__intmux__driver.html#gaa063278d27efbc5aa042b722e703cf00">INTMUX_ResetChannel</a>(INTMUX0, 0);</div><div class="line"><span class="comment">/* Configures the INTMUX channel 0, enable INTMUX source 0, 1, OR mode. */</span></div><div class="line">INTMUX_SetChannelConfig(INTMUX0, 0, 1&lt;&lt;0 | 1&lt;&lt;1, <a class="code" href="group__intmux__driver.html#gga323ecb48c04c2c7d9a566d2eceb33380acd55443e954b85dbb1150fb9291d2e7d">kINTMUX_ChannelLogicOR</a>);</div></div><!-- fragment --> <h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga323ecb48c04c2c7d9a566d2eceb33380"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__intmux__driver.html#ga323ecb48c04c2c7d9a566d2eceb33380">intmux_channel_logic_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>INTMUX channel logic mode. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga323ecb48c04c2c7d9a566d2eceb33380acd55443e954b85dbb1150fb9291d2e7d"></a>kINTMUX_ChannelLogicOR&#160;</td><td class="fielddoc">
<p>Logic OR all enabled interrupt inputs </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga323ecb48c04c2c7d9a566d2eceb33380a0ec74d3f6f2e22f6d98cae2af686c73d"></a>kINTMUX_ChannelLogicAND&#160;</td><td class="fielddoc">
<p>Logic AND all enabled interrupt inputs </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga6e3f7302b867c1ebbce6518b0689606e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void INTMUX_Deinit </td>
          <td>(</td>
          <td class="paramtype">INTMUX_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deinitializes an INTMUX instance for operation. </p>
<p>The clock gate for the specified INTMUX is disabled, and the NVIC vectors for all channels are disabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>INTMUX peripheral base address. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga791e3c14a7c2d6974517d2c17c722d1c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void INTMUX_DisableInterrupt </td>
          <td>(</td>
          <td class="paramtype">INTMUX_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IRQn_Type&#160;</td>
          <td class="paramname"><em>irq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Disable an interrupt source on an INTMUX channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>INTMUX peripheral base address. </td></tr>
    <tr><td class="paramname">channel</td><td>Index of the INTMUX channel on which the specified interrupt will be disabled. </td></tr>
    <tr><td class="paramname">irq</td><td>Interrupt number. The interrupt must be an INTMUX source. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gad71acffe5e252ffaf406ce0087a50f0f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void INTMUX_EnableInterrupt </td>
          <td>(</td>
          <td class="paramtype">INTMUX_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IRQn_Type&#160;</td>
          <td class="paramname"><em>irq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Enable an interrupt source on an INTMUX channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>INTMUX peripheral base address. </td></tr>
    <tr><td class="paramname">channel</td><td>Index of the INTMUX channel on which the specified interrupt will be enabled. </td></tr>
    <tr><td class="paramname">irq</td><td>Interrupt to route to the specified INTMUX channel. The interrupt must be an INTMUX source. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga37cd66e7503acb5ea0b0d8455f8e5bd1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t INTMUX_GetChannelPendingSources </td>
          <td>(</td>
          <td class="paramtype">INTMUX_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get INTMUX pending interrupt sources for specific channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>INTMUX peripheral base address. </td></tr>
    <tr><td class="paramname">channel</td><td>The INTMUX channel number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The mask of pending interrupt bits. Bit[n] set means intmux source n is pending. </dd></dl>

</div>
</div>
<a class="anchor" id="ga2ac258d09a69ecb0f5c56db58fbd7eb2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void INTMUX_Init </td>
          <td>(</td>
          <td class="paramtype">INTMUX_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes INTMUX module. </p>
<p>This function enables the clock gate for the specified INTMUX. It then resets all channels, so that no interrupt sources are routed and the logic mode is set to the default of <a class="el" href="group__intmux__driver.html#gga323ecb48c04c2c7d9a566d2eceb33380acd55443e954b85dbb1150fb9291d2e7d">kINTMUX_ChannelLogicOR</a>. Finally, the NVIC vectors for all of the INTMUX output channels are enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>INTMUX peripheral base address. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaa063278d27efbc5aa042b722e703cf00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void INTMUX_ResetChannel </td>
          <td>(</td>
          <td class="paramtype">INTMUX_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reset an INTMUX channel. </p>
<p>Set all register values in the specified channel to their reset value. This will disable all interrupt sources for the channel.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>INTMUX peripheral base address. </td></tr>
    <tr><td class="paramname">channel</td><td>The INTMUX channel number. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga56cfb6e18a470d6ce35153213de922b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void INTMUX_SetChannelMode </td>
          <td>(</td>
          <td class="paramtype">INTMUX_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__intmux__driver.html#ga323ecb48c04c2c7d9a566d2eceb33380">intmux_channel_logic_mode_t</a>&#160;</td>
          <td class="paramname"><em>logic</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the logic mode for an INTMUX channel. </p>
<p>INTMUX channels can be configured to use one of two logic modes that control how pending interrupt sources on the channel trigger the output interrupt.</p><ul>
<li><a class="el" href="group__intmux__driver.html#gga323ecb48c04c2c7d9a566d2eceb33380acd55443e954b85dbb1150fb9291d2e7d">kINTMUX_ChannelLogicOR</a> means any source pending will trigger the output interrupt.</li>
<li><a class="el" href="group__intmux__driver.html#gga323ecb48c04c2c7d9a566d2eceb33380a0ec74d3f6f2e22f6d98cae2af686c73d">kINTMUX_ChannelLogicAND</a> means all selected sources on the channel must be pending before the channel output interrupt will trigger.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>INTMUX peripheral base address. </td></tr>
    <tr><td class="paramname">channel</td><td>The INTMUX channel number. </td></tr>
    <tr><td class="paramname">logic</td><td>The INTMUX channel logic mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
